package org.xlp.db.bridge.defination;

import org.xlp.bean.base.IBeanDefinition;
import org.xlp.bean.base.IBeanDefinitionCreator;

/**
 * Description: bean定义创建器
 * <br/>date: 2024/4/16 14:47
 *
 * @version 1.0
 * @author: xlp
 */
public class MapperAnnotationBeanDefinitionCreator implements IBeanDefinitionCreator {
    /**
     * 根据给定的bean创建对应的bean定义
     *
     * @param beanClass bean类型
     * @return
     */
    @Override
    public IBeanDefinition createBeanDefinition(Class<?> beanClass) {
        return new MapperAnnotationBeanDefinition(beanClass);
    }
}
